package com.tiantian.filterandInterceptor.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/request")
    public String request() {
        System.out.println("[请求controller]执行~");
        return "success";
    }
}
